package com.snoob.lixing.mapper;

import com.snoob.lixing.pojo.Classes;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

public interface ClassesMapper extends Mapper<Classes>, MySqlMapper<Classes> {
    /**
     * 级联查询pojo
     *
     * @param pojo 查询条件
     * @return
     * @throws Exception
     */
    Object selectClassesCascade(Classes pojo) throws Exception;

    /**
     * 批量添加
     *
     * @param pojoList 集合
     * @return
     * @throws Exception
     */
    Integer insertByPojoList(List<Classes> pojoList) throws Exception;

//	/**
//	 * 批量删除
//	 * @param pojoIdList 集合
//	 * @return
//	 * @throws Exception
//	 */
//	Integer deleteByPojoIdList(List<String> pojoIdList) throws Exception;
}